package com.sise.wangzhan.fallback;

import org.springframework.cloud.netflix.zuul.filters.route.FallbackProvider;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Classname FallbackConfig
 * @Description TODO
 * @Date 2020/5/21 10:18
 * @Created by wangzhan
 */
@Configuration
public class FallbackConfig {

    @Bean
    public FallbackProvider saleFallbackProvider() {
        return new MyFallbackProvider();
    }

}
